<script type="text/javascript">
    $(function(){
        var item_1=$('.content');
        var item_2=$('.website_top');
        item_1.css({width: 0});
        item_2.css({display: 'none'});
        setTimeout(function() {
        item_1.animate({
            width: '+=540'
        }, 400,function(){
            item_2.fadeIn(400);
        });
        },300);
    });
</script> 
<div class="logo_vert"></div>
        <div class="top">
            <div class="logo"><a href="<?php echo url_for("@homepage"); ?>" class="ajax-load"><!----></a></div>
            <div class="title-websites"><a href="<?php echo url_for(array('module'=>'solution','action'=>'ShowSolutionPortfolios','slug'=>$solution->getSlug())) ?>"><?php echo $solution->getTitle() ?></a></div>
            <div class="back"><a href="<?php echo url_for(array('module'=>'solution','action'=>'index')); ?>" class="ajax-load"><!----></a></div>
            <div class="separator"><!----></div>
        </div>
        <div id="bigblock">
            <?php include_partial('layout/left_menu'); ?>
<?php $portfolios_array=$solution->getLastSevenPortfoliosArray(); $portfolios_count=  count($portfolios_array) ;?>
            <div class="content">
                <div class="website_top">
                    <?php if($portfolios_count>0): $portfolio=$portfolios_array[0]; ?><div class="website_img">
                        <a href="<?php echo url_for(array('module'=>'solution','action'=>'showPortfolio','slug'=>$portfolio->getSlug())) ?>" class="ajax-load">
                            <img src="<?php echo $portfolio->getTitleImage()->getImgUri() ?>" alt=""/></a>
                        <a href="<?php echo url_for(array('module'=>'solution','action'=>'showPortfolio','slug'=>$portfolio->getSlug())) ?>" class="applicature ajax-load"><?php echo $portfolio->getTitle() ?></a></div><?php endif; ?>
                    <?php if($portfolios_count>1): $portfolio=$portfolios_array[1]; ?><div class="website_img" >
                        <a href="<?php echo url_for(array('module'=>'solution','action'=>'showPortfolio','slug'=>$portfolio->getSlug())) ?>" class="ajax-load">
                            <img src="<?php echo $portfolio->getTitleImage()->getImgUri() ?>" alt=""/></a>
                        <a href="<?php echo url_for(array('module'=>'solution','action'=>'showPortfolio','slug'=>$portfolio->getSlug())) ?>" class="applicature ajax-load"><?php echo $portfolio->getTitle() ?></a></div><?php endif; ?>
                    <?php if($portfolios_count>2): $portfolio=$portfolios_array[2]; ?><div class="website_img">
                        <a href="<?php echo url_for(array('module'=>'solution','action'=>'showPortfolio','slug'=>$portfolio->getSlug())) ?>" class="ajax-load">
                            <img src="<?php echo $portfolio->getTitleImage()->getImgUri() ?>" alt=""/></a>
                        <a href="<?php echo url_for(array('module'=>'solution','action'=>'showPortfolio','slug'=>$portfolio->getSlug())) ?>" class="applicature ajax-load"><?php echo $portfolio->getTitle() ?></a></div><?php endif; ?>
                    <div class="separator"><!----></div>
                </div>

                <div class="website_top" >
                    <div class="website_para">
                        <p class="p_1"><?php echo $solution->getContent() ?></p>
                    </div>
                    <?php if($portfolios_count>3): $portfolio=$portfolios_array[3]; ?><div class="website_img">
                        <a href="<?php echo url_for(array('module'=>'solution','action'=>'showPortfolio','slug'=>$portfolio->getSlug())) ?>" class="ajax-load">
                            <img src="<?php echo $portfolio->getTitleImage()->getImgUri() ?>" alt=""/></a>
                        <a href="<?php echo url_for(array('module'=>'solution','action'=>'showPortfolio','slug'=>$portfolio->getSlug())) ?>" class="applicature ajax-load"><?php echo $portfolio->getTitle() ?></a></div><?php endif; ?>
                    <div class="separator"><!----></div>
                </div>

                <div class="website_top"  >
                    <?php if($portfolios_count>4): $portfolio=$portfolios_array[4]; ?><div class="website_img">
                        <a href="<?php echo url_for(array('module'=>'solution','action'=>'showPortfolio','slug'=>$portfolio->getSlug())) ?>" class="ajax-load">
                            <img src="<?php echo $portfolio->getTitleImage()->getImgUri() ?>" alt=""/></a>
                        <a class="applicature ajax-load" href="<?php echo url_for(array('module'=>'solution','action'=>'showPortfolio','slug'=>$portfolio->getSlug())) ?>"><?php echo $portfolio->getTitle() ?></a></div><?php endif; ?>
                    <?php if($portfolios_count>5): $portfolio=$portfolios_array[5]; ?><div class="website_img">
                        <a href="<?php echo url_for(array('module'=>'solution','action'=>'showPortfolio','slug'=>$portfolio->getSlug())) ?>" class="ajax-load">
                            <img src="<?php echo $portfolio->getTitleImage()->getImgUri() ?>" alt=""/></a>
                        <a class="applicature ajax-load" href="<?php echo url_for(array('module'=>'solution','action'=>'showPortfolio','slug'=>$portfolio->getSlug())) ?>"><?php echo $portfolio->getTitle() ?></a></div><?php endif; ?>
                   <?php if($portfolios_count>6): $portfolio=$portfolios_array[6]; ?> <div class="website_img">
                       <a href="<?php echo url_for(array('module'=>'solution','action'=>'showPortfolio','slug'=>$portfolio->getSlug())) ?>" class="ajax-load">
                           <img src="<?php echo $portfolio->getTitleImage()->getImgUri() ?>" alt=""/></a>
                       <a class="applicature ajax-load" href="<?php echo url_for(array('module'=>'solution','action'=>'showPortfolio','slug'=>$portfolio->getSlug())) ?>"><?php echo $portfolio->getTitle() ?></a></div><?php endif; ?>
                    <div class="separator"><!----></div>

                </div>
            </div>

            <ul class="right">
                <li><a href="<?php echo url_for(array('module'=>'solution', 'action'=>'showReviews','slug'=>$solution->getSlug())) ?>" class="clients_reviews highlight ajax-load"><!----></a></li>
                <li><a href="<?php echo url_for(array('module'=>'solution', 'action'=>'showAllSolutionPortfolios','slug'=>$solution->getSlug(),'page'=>1)) ?>" class="archive highlight ajax-load"><!----></a></li>
                <li><a href="<?php echo url_for(array('module'=>'solution','action'=>'loadOrderForm','slug'=>$solution->getSlug())) ?>" class="order_website highlight ajax-load"><!----></a></li>
            </ul>


        </div>
        <div class="separator"><!----></div>